package com.bit.demo2;

import com.bit.demo1.Computer;

public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer("联想", "英特尔", "16G", "三星");
        System.out.println(computer.screen);       //无法访问brand
        System.out.println(computer.getCpu());
        computer.setCpu("英伟达");
        System.out.println(computer.getCpu());
    }
}
